package embeded;

import java.rmi.Remote;
import java.rmi.RemoteException;

import client.RemoteParticipant;

import data.DataObject;
import topic.Topic;

public interface Participant extends Remote{
	String getName() throws RemoteException;
	Topic getTopic() throws RemoteException;
	void setData(DataObject data) throws RemoteException;
	void setRemote(RemoteParticipant remote) throws RemoteException;
	DataObject getData() throws RemoteException;
	void refresh() throws RemoteException;
}
